package exsun.jt808.data.distribute_data.jt808;

import exsun.jt808.data.distribute_data.DistributeEntity;

import java.util.Date;
import java.util.List;

/**
 * 设置路线
 */
public class SetRoute extends DistributeEntity
{
    /**
     * 路线 ID
     */
    private int routeId;
    /**
     * 路线属性
     */
    private RouteProperty routeProperty;
    /**
     * 起始时间
     * 若時間限制無效 则没有该字段
     */
    private Date beginTime;
    /**
     * 结束时间
     * 若時間限制無效 则没有该字段
     */
    private Date endTime;
    /**
     * 拐点项
     */
    private List<InflexionInfo> inflexions;

    /**
     * 区域名称
     * @return
     */
    private String areaName;

    public int getRouteId() {
        return routeId;
    }

    public void setRouteId(int routeId) {
        this.routeId = routeId;
    }

    public RouteProperty getRouteProperty() {
        return routeProperty;
    }

    public void setRouteProperty(RouteProperty routeProperty) {
        this.routeProperty = routeProperty;
    }

    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public List<InflexionInfo> getInflexions() {
        return inflexions;
    }

    public void setInflexions(List<InflexionInfo> inflexions) {
        this.inflexions = inflexions;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }
}
